package cn.backpackerxl.entity;

import cn.backpackerxl.easyJDBC.annotation.*;
import cn.backpackerxl.easyJDBC.util.IdType;
import cn.backpackerxl.easyJDBC.util.PType;
import lombok.*;

/**
 * author:  backpackerxl
 * create:  2022/1/12
 * filename:  Teacher
 **/
@Table(show = true)
@Data
public class Teacher {
    @Id(strategy = IdType.AUTO)
    @ParesType(PType.INT)
    private Long id;
    @Len("50")
    private String name;
    @Lob
    private String information;
    private boolean flag;
    private char sex;
    private short classTime;
}
